
//
//  JMTaskViewCell.m
//  jiMuOperate
//
//  Created by 胡梅方 on 16/5/9.
//  Copyright © 2016年 jinXinFengLi. All rights reserved.
//

#import "JMTaskViewCell.h"

@implementation JMTaskViewCell
-(instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    if (self=[super initWithStyle:style reuseIdentifier:reuseIdentifier]) {
        [self createViews];
    }
    return self;
}

-(void)createViews
{

    CGFloat labelY = 10;
    CGFloat labelW=50;
    CGFloat labelH = 30;
    UIImageView *headImage = [[UIImageView alloc]initWithFrame:CGRectMake(labelY, labelY, labelH, labelH)];
    self.headImage = headImage;
    [self addSubview:headImage];
    headImage.frame = [ToolViewAndData MyAutoLayout:headImage];

    UILabel *nameLabel = [ARC createLabelWithFrame:CGRectMake(40, 0, 100 , labelW) Font:15 Text:nil];
    self.nameLabel = nameLabel;
    [self addSubview:nameLabel];
    nameLabel.frame = [ToolViewAndData MyAutoLayout:nameLabel];
        self.nameLabel.textColor = [UIColor blackColor];
}

@end
